[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
INSB Input Byte String From Port (186/286/386) Flags: O D I T S Z A P C
INSB
Logic: ES:DI . byte from source port
if DF = 0 then
DI . DI + 1
else
DI . DI - 1
The INSB instruction lets you read a byte string from a port. The
destination string is pointed to by ES:DI. The input port number must be
in DX. If the direction flag is set, DI is decremented. If it is not set,
DI is incremented.
--------------------------------------------------------------------------
Operands Clocks Transfers Bytes Example
INSB 5 (286) 1 1 INSB
--------------------------------------------------------------------------
Note: This instruction is usually used with a REP
prefix. Load CX with the number of times to repeat
the instruction.
See Also:
INS
INSW
INSD
REP
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson